body {
    background-color: #fff;
}

.community-home {
    height: 100%;
    width: 100vw;
    background-color: #fff;
    position: relative;

    .header {
        width: 100vw;
        display: flex;
        align-items: center;
        padding-top: 0;
        background: hsla(0, 0%, 100%, 0);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
        height: 11.73vw;
        padding: 0 0 0 3.2vw;
        background-color: #fff;

        .header-back {
            display: block;
            background: url(../images/ico-back.png) no-repeat 50%;
            background-size: 6.4vw;
            width: 6.4vw;
            height: 6.4vw;
            margin: 2.67vw 0;
        }

        .header-title {
            font-family: PingFangSC-Medium;
            font-size: 4vw;
            color: #222;

            span {
                display: inline-block;
            }

            .ico-arrow {
                width: 4.27vw;
                height: 4.27vw;
                overflow: hidden;
                display: inline-block;
                background: url(../images/ico-down.png) no-repeat 50%;
                background-size: 4.27vw;
                vertical-align: -0.53vw;
                margin-left: 1.07vw;
                margin-right: 4.27vw;
            }
        }

        .header-search {
            width: 60vw;
            height: 8.53vw;
            border-radius: 8.53vw;
            line-height: 8.53vw;
            background: #f4f4f4;
            box-shadow: none;
            padding: 0 1.6vw;
            color: #999;
            font-size: 3.73vw;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;

            .ico-search {
                display: inline-block;
                width: 3.2vw;
                height: 3.2vw;
                overflow: hidden;
                background: url(../images/ico-search.png) no-repeat 50%;
                background-size: 3.2vw;
                margin: 0 2.13vw 0 1.6vw;
                vertical-align: -0.27vw;
            }
        }

        .header-user {
            display: flex;
            align-items: center;
            width: 8.8vw;
            height: 8.8vw;
            padding: 1.33vw 0.27vw 1.6vw;
            margin-left: 2.93vw;

            img {
                width: 5.6vw;
                height: 5.6vw;
                border-radius: 50%;
                border: 0.27vw solid #eaeaea;
                margin: 0 auto;
                display: block;
                padding: 0;

            }
        }
    }

    .main {
        padding-top: 11.73vw;
        overflow-y: auto;
        overflow-x: hidden;
        height: 100%;
        box-sizing: border-box;
        position: relative;

        .main-content {
            position: absolute;
            overflow: hidden;
            width: 100vw;

            .bg-box {

                img {
                    width: 100%;
                    border: 0;
                    margin: 0;
                    padding: 0;
                    vertical-align: top;
                }
            }
        }

        .waterfall {
            min-height: auto;
            overflow: hidden;
            height: 18.67vw;


            .title {
                height: 18.67vw;
                visibility: visible;
                width: 100%;
                position: relative;
                padding: 0;
                margin: 0;
                top: 11.73vw;
                position: fixed;
                left: 0;
                z-index: 2;

                .tab {
                    display: flex;
                    justify-content: flex-start;
                    height: 24vw;
                    padding-bottom: 2.67vw;
                    overflow-x: scroll;
                    overflow-y: hidden;
                    white-space: nowrap;

                    &::-webkit-scrollbar {
                        width: 0;
                    }

                    .tab-item {
                        flex-shrink: 0;
                        font-size: 4.27vw;
                        min-width: 18.67vw;
                        height: 10.67vw;
                        line-height: 5.33vw;
                        padding-top: 5.33vw;
                        color: #222;
                        text-align: center;
                    }

                    .tab-item.active {
                        font-size: 5.6vw;
                        line-height: 6.67vw;
                        color: #666;
                        padding-top: 4vw;

                        span {
                            display: inline-block;
                            position: relative;

                            &::after {
                                content: "";
                                width: 100%;
                                height: 0.8vw;
                                border-radius: 0.8vw;
                                background: #2fcfbb;
                                position: absolute;
                                left: 0;
                                bottom: -1.87vw;
                            }
                        }
                    }

                    .tab-item.tabwidth {
                        width: auto;
                        padding: 5.33vw 3.2vw 0;
                    }




                }
            }
        }
    }

    .error-msg {
        position: relative;
        background: #fff;
        padding: 8.53vw 0;
        text-align: center;

        img {
            width: 34.67vw;
            height: 21.87vw;
            overflow: hidden;
            margin-bottom: 2.67vw;
        }

        p {
            font-size: 3.47vw;
            color: #666;
            line-height: 6.13vw;
            padding-bottom: 3.2vw;
        }
    }

    .pai {
        bottom: 0.8vw;
        width: 22.67vw;
        height: 24vw;
        position: fixed;
        z-index: 11;
        left: 50%;
        margin-left: -11.2vw;
        background: url(../images/vpai.png) no-repeat;
        background-size: 22.67vw 24vw;
    }


}